﻿@using System.ServiceModel.Syndication
@model gnet1.Models.DaveViewModel

@{
    ViewBag.Title = "Feeds";
}

<h2>Feeds</h2>

<div style="position:absolute; top:100px">
    @foreach (SyndicationItem item in Model.Feed.Items)
    {
        int i = @item.Summary.Text.IndexOf('<');
        <span><a href='@item.Id'>@item.Title.Text</a> @item.Summary.Text.Substring(0,i) </span><br />
    }
</div>